﻿using System;

namespace Gmantis.Controls.DataGrid
{
    public class DataGridCreatingRowEventArgs : EventArgs
    {
        // Methods
        internal DataGridCreatingRowEventArgs(DataGridRow row, DataGridRowType type, object dataItem)
        {
            this.Row = row;
            this.Type = type;
            this.DataItem = dataItem;
        }

        // Properties
        public object DataItem { get; private set; }

        public DataGridRow Row { get; set; }

        public DataGridRowType Type { get; private set; }
    }
}
